import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { IsBoolean, IsOptional } from 'class-validator';

/**
 * 更新通知DTO
 */
export class UpdateNotificationDto {
  @ApiProperty({
    description: '是否已读',
    example: true,
  })
  @IsBoolean({ message: 'isRead必须是布尔值' })
  isRead: boolean;
} 